/**
 * MP Software.
 */
package models;

import javax.persistence.Entity;

import play.data.validation.Required;
import play.db.jpa.Model;

/**
 * @author Jeremiah John M. Macariola
 *
 */
@Entity
public class Client extends Model {

    @Required
    public String name;

    public String location;

    @Required
    public String electronicId;

    public Client(String name, String location, String electronicId) {
        this.name = name;
        this.location = location;
        this.electronicId = electronicId;
    }

    @Override
    public String toString() {
        return name;
    }

}
